home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Archive Magazine CD 1995
/
Archive Magazine CD 1995.iso
/
discs
/
shareware
/
share_41
/
assembler
/
!Assemble
/
overlay1
< prev
next >
Wrap
Text File
|
1991-05-14
|
675b
|
22 lines
; NAME clock
; PURPOSE displays the real time clock
; DESIGN
; set up registers
; call operating system command
;
;
; COMMENTS uses OS_Word, an operating system call
; this takes the following parameters
; r0 = 14 this is the reason code since OS_Word
; performs several tasks
; r1 points to an area of memory into which
; the time will be placed
; [r1] = 0 this is the second parameter, zero means
; read the clock
mov r0, #14
mov r1, r4
mov r6, #0
str r6, [r1]
swi "OS_Word"